Newtons forward difference method